<template>
  <div id="replenishment">
    <div class="top">
      <img src="../../assets/banner.png" alt="banner">
    </div>
    <div class="content">
      <router-link
      class="men"
      tag="div"
      :to="{name: 'Cabinet'}">
        <div class="left">
          <img src="../../assets/guiji.png" alt="">
        </div>
        <div class="right">
          <p>柜机信息</p>
          <img src="../../assets/youjiantou.png" alt="右箭头">
        </div>
      </router-link>
    </div>
    <div class="handle">
      <div class="xx"></div>
      <router-link
      :to="{name: 'Scanrep'}"
      tag="div"
      class="men">
        <div class="left">
          <img src="../../assets/saomabuhuo.png" alt="">
        </div>
        <div class="right">
          <p>扫码补货</p>
          <img src="../../assets/youjiantou.png" alt="右箭头">
        </div>
      </router-link>
      <div
      class="men">
        <div class="left">
          <img src="../../assets/qianbao.png" alt="">
        </div>
        <div class="right">
          <p>电子钱包</p>
          <img src="../../assets/youjiantou.png" alt="右箭头">
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Replenish',
  created () {
    document.title = '补货员'
  }
}
</script>

<style lang='scss' scoped>
#replenishment{
  width: 100%;
  height: 100%;
  .top{
    height: 44.8vw;
    img{
      width: 100%;
      height: 100%;
    }
  }
  .content{
    padding: 4vw 0;
    position: relative;
    .xx{
      width: 87%;
      height: 1px;
      background-color: #eee;
      position: absolute;
      top: 18.56vw;
      right: 0;
    }
  }
  .handle{
    position: relative;
    .xx{
      width: 87%;
      height: 1px;
      background-color: #eee;
      position: absolute;
      top: 14.56vw;
      right: 0;
    }
  }
  .men{
      padding: 0 3.46vw;
      height: 14.66vw;
      background-color: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .left{
        img{
          width: 6.66vw;
          height: 6.66vw;
          margin-right: 3vw;
        }
      }
      .right{
        width: 100%;
        height: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        p{
          font-size: 4.53vw;
          font-family: SourceHanSansCN-Regular;
          font-weight: 400;
          color: rgba(22,22,22,1);
        }
        .icon{
          position: absolute;
          right: 5vw;
          top: 6.2vw;
          border-radius: 1vw;
          width: 1.86vw;
          height: 1.86vw;
          background-color: #ff0000;
        }
        img{
          width: 2.4vw;
          height: 4.26vw;
        }
      }
    }
}
</style>
